//
//  searchBarCollectionViewCell.m
//  UI_HLJ_Frame
//
//  Created by  毕宏伟 on 15/7/8.
//  Copyright (c) 2015年 毕宏伟. All rights reserved.
//

#import "searchBarCollectionViewCell.h"

@implementation searchBarCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self =[super initWithFrame:frame];
    if (self) {
        
        self.searchLabel=[[UILabel alloc]initWithFrame:CGRectMake(5, 5, self.contentView.frame.size.width-10, 40)];
        self.searchLabel.backgroundColor =[UIColor colorWithRed:0.295 green:0.856 blue:0.888 alpha:1.000];
        self.searchLabel.layer.cornerRadius =17;
        self.searchLabel.layer.masksToBounds =YES;
        self.searchLabel.textColor =[UIColor orangeColor];
        self.searchLabel.textAlignment =1;
        [self.contentView addSubview:self.searchLabel];
        [_searchLabel release];
    }
    return self;
}

@end
